export default (el) => {
  el.addEventListener('wheel', (e) => {
    e.preventDefault();
    console.log(e.wheelDelta);

    if (e.wheelDelta > 0) {
      el.scrollLeft -= 100;
    } else {
      el.scrollLeft += 100;
    }
  });
};
